package com.hnjfzn.message.sms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnjfzn.common.core.exception.sms.SmsException;
import com.hnjfzn.message.sms.domain.SmsLog;

public interface ISmsService extends IService<SmsLog> {
    /**
     * 发送验证码
     *
     * @param phone 手机号
     * @return 结果
     */
    Long sendCaptcha(String phone) throws SmsException;
}
